#ifndef __I386_STDIO_H__
#define __I386_STDIO_H__

#ifdef __cplusplus
extern "C" {
#endif

#include <stdarg.h>

int vsprintf(char *buf,char *fmt,va_list parms);
int sprintf(char *buf,char *fmt,...) __attribute__ ((__format__(printf, 2, 3)));

int vsscanf(char *buf,char *fmt,va_list parms);
int sscanf(char *buf,char *fmt,...) __attribute__ ((__format__(scanf, 2, 3)));

int printf(const char *fmt,...) __attribute__ ((format(printf, 1, 2)));

#define FILE int

#ifdef __cplusplus
}
#endif

#endif
